package com.cooge.jiexi;

import org.apache.http.message.BasicHeader;

public class Bisai {

	public static void main(String[] args) throws Exception {
		//https://api.bisai.tv/player/definition?a=62c5123da033b99b&b=8d2759cfa05d011a&c=mTOhfvRPzNdTYu7uMJ6KI1XAUcBZdHTDXwy7vY4wbqeG%2Fv1RP9%2BkgPfDvZi0%2F2qe%2F704LvV5Ii9EIzNbx553MMYai0%2FagWjrMXqKaUDLVRFF7RIHwjK4S0kiKRiMGcfHM9Ats4t1PWtKCKLxbdabuZJBpSwQqAVZqluRqpm2P1Y%3D&d=cctv5lt
		BasicHeader bh = new BasicHeader("Referer","https://api.bisai.tv/player/?id=cctv5&w=630&h=460&signal=cctv5lt");
									 //https://api.bisai.tv/player/m3u8?a=c9f2b7a83de9cfb1&b=8d2759e97877b4a7&c=z8RT5Fj3gBRrgCLbyMOe3GLpGwFtlJSG1ho4e5oVdiuxmhPsiCU1AjS10okCGR%2FaCjV4dFRp2DLRgc5INAZVRI9XRNDewQWZoFkncnF4empKMD0SSM0tPr%2BM5etQvMT7v71INgYX%2BLW9OmAJz0e%2FFU5Aj0NIhz4S8PCjXFqDSV0%3D
		String html = NetUtil.getHtml("https://api.bisai.tv/player/m3u8?a=62c5123da033b99b&b=8d2759cfa05d011a&c=mTOhfvRPzNdTYu7uMJ6KI1XAUcBZdHTDXwy7vY4wbqeG%2Fv1RP9%2BkgPfDvZi0%2F2qe%2F704LvV5Ii9EIzNbx553MMYai0%2FagWjrMXqKaUDLVRFF7RIHwjK4S0kiKRiMGcfHM9Ats4t1PWtKCKLxbdabuZJBpSwQqAVZqluRqpm2P1Y%3D", bh);
		System.out.println(html);
	}

}
